package com.itheima.tliasmanagementspringboot.mapper;


import com.itheima.tliasmanagementspringboot.pojo.DeptLog;
import com.itheima.tliasmanagementspringboot.pojo.EmpLoginLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EmpLoginLogMapper {

    @Insert("insert into emp_login_log(USERNAME, PASSWORD, LOGIN_TIME, IS_SUCCESS, JWT, COST_TIME) " +
            "values(#{username},#{password},#{loginTime},#{isSuccess},#{jwt},#{costTime})")
    void insert(EmpLoginLog empLoginLog);

}
